package com.houweishi.module.report.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.houweishi.common.annotation.Excel;
import com.houweishi.common.core.domain.BaseEntity;

/**
 * 员工工作报告对象 biz_work_report
 * 
 * @author houweishi
 * @date 2023-02-21
 */
public class BizWorkReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 用户id */
//    @Excel(name = "用户id")
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 员工id */
//    @Excel(name = "员工id")
    private Long staffId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 报告类型（1日报 2周报 3月报 4年报） */
    @Excel(name = "报告类型", readConverterExp = "1=日报,2=周报,3=月报,4=年报")
    private String reportType;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String jobContent;

    /** 与其他部门对接情况（遇到的问题及解决方案） */
    @Excel(name = "与其他部门对接情况", readConverterExp = "遇=到的问题及解决方案")
    private String departmentDocking;

    /** 分公司公司对接情况 */
    @Excel(name = "分公司公司对接情况")
    private String companyDocking;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 所属租户 */
//    @Excel(name = "所属租户")
    private Long tenantId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setReportType(String reportType) 
    {
        this.reportType = reportType;
    }

    public String getReportType() 
    {
        return reportType;
    }
    public void setJobContent(String jobContent) 
    {
        this.jobContent = jobContent;
    }

    public String getJobContent() 
    {
        return jobContent;
    }
    public void setDepartmentDocking(String departmentDocking) 
    {
        this.departmentDocking = departmentDocking;
    }

    public String getDepartmentDocking() 
    {
        return departmentDocking;
    }
    public void setCompanyDocking(String companyDocking) 
    {
        this.companyDocking = companyDocking;
    }

    public String getCompanyDocking() 
    {
        return companyDocking;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("staffId", getStaffId())
            .append("name", getName())
            .append("reportType", getReportType())
            .append("jobContent", getJobContent())
            .append("departmentDocking", getDepartmentDocking())
            .append("companyDocking", getCompanyDocking())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("tenantId", getTenantId())
            .toString();
    }
}
